home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Vk
/
ViewKit.z
/
ViewKit
Wrap
Text File
|
1998-10-20
|
7KB
|
199 lines
VVVViiiieeeewwwwKKKKiiiitttt((((3333xxxx)))) VVVViiiieeeewwwwKKKKiiiitttt((((3333xxxx))))
NNNNAAAAMMMMEEEE
ViewKit - A class library that makes it easier to use Motif
IIIINNNNTTTTRRRROOOODDDDUUUUCCCCTTTTIIIIOOOONNNN
The ViewKit is an application framework, written in C++, that provides
commonly needed facilities for applications based on Motif. Motif, like
many other UI toolkits operates at a very low level relative to what many
programs need. Motif provides buttons, scrollbars, labels, and so on.
Applications based on such toolkits tend to duplicate a lot of code,
because they must all do the same things to construct a more complex UI.
The ViewKit improves this situation in two ways. First it provides an
architecture that supports higher-level components. Instead of forcing
applications to work with buttons and labels, the ViewKit encourages
applications to work with menu systems, help systems, dialog management
systems, control panels, and so on. Second, the ViewKit does as much as
possible automatically by providing commonly needed facilities. For
example, the ViewKit provides a simple way to handle situations where an
application is busy for some period of time.
The ViewKit supplies facilities that nearly all Motif applications must
provide - but instead of requiring each programmer to write this code,
the common features are captured in a collection of classes once and for
all.
VVVVIIIIEEEEWWWWKKKKIIIITTTT LLLLIIIIBBBBRRRRAAAARRRRIIIIEEEESSSS
The ViewKit consists of the following libraries:
lllliiiibbbbvvvvkkkk....ssssoooo: The basic ViewKit class library. This archive also
includes some widgets.
lllliiiibbbbvvvvkkkkmmmmssssgggg....ssssoooo: Classes that support inter-process communication
based on the ToolTalk library.
lllliiiibbbbvvvvkkkk____dddd....aaaa: A static debugging version of the basic ViewKit
class library. This version is compiled with all debugging
symbols, and also contains various assertions that can help
catch errors due to misuse of the ViewKit classes.
lllliiiibbbbvvvvkkkkmmmmssssgggg____dddd....aaaa: A static debugging version of the libvkmsg
library. This version is compiled with all debugging symbols,
and also contains various assertions that can help catch errors
due to misuse of the ViewKit classes.
lllliiiibbbbvvvvkkkkwwwweeeebbbbhhhheeeellllpppp....ssssoooo: A library that supports web-based help.
LLLLIIIINNNNKKKKIIIINNNNGGGG WWWWIIIITTTTHHHH VVVVIIIIEEEEWWWWKKKKIIIITTTT
A typical application that uses ViewKit needs to link with the ViewKit
library as well as the Motif libraries.
A help library that satisfies the ViewKit help API may also be linked.
If no help library is linked, ViewKit supplies a default help capability
that still provides a minimal stub interface.
PPPPaaaaggggeeee 1111
VVVViiiieeeewwwwKKKKiiiitttt((((3333xxxx)))) VVVViiiieeeewwwwKKKKiiiitttt((((3333xxxx))))
For example, a sample program that uses only the core ViewKit (not the
VkMsg facility), and (at most) default help capabilities, might be linked
as follows:
CC -o sample sample.c++ -lvk -lSgm -lXm -lXt -lX11
A program that uses the VkMsg library should be linked as:
CC -o sample sample.c++ -lvkmsg -lvk -lSgm -lXm -lXt -lX11
Programs can also link with the debugging versions of the ViewKit
libraries:
CC -o sample -g sample.c++ -lvkmsg_d -lvk_d -lSgm -lXm -lXt -lX11
SSSSEEEEEEEE AAAALLLLSSSSOOOO
VkAction VkMsgService
VkAlignmentGroup VkMsgWindow
VkApp VkNLS
VkBackground VkNameList
VkBusyDialog VkNode
VkCallbackObject VkOptionMenu
VkCheckBox VkOutline
VkCompletionField VkOutlineASB
VkComponent VkPeriodic
VkComponentList VkPie
VkDialogManager VkPipe
VkDoubleBuffer VkPopupMenu
VkErrorDialog VkPrefCustom
VkFatalErrorDialog VkPrefDialog
VkFileSelectionDialog VkPrefEmpty
VkForkIO VkPrefGroup
VkGangedGroup VkPrefItem
VkGenericDialog VkPrefLabel
VkGetResource VkPrefList
VkGraph VkPrefOption
VkHelpPane VkPrefRadio
VkInfoDialog VkPrefSeparator
VkInput VkPrefText
VkInterruptDialog VkPrefToggle
VkListSearch VkProgram
VkMenu VkQuestionDialog
VkMenuAction VkRadioBox
VkMenuActionObject VkRadioGroup
VkMenuActionWidget VkRadioSubMenu
VkMenuBar VkRepeatButton
PPPPaaaaggggeeee 2222
VVVViiiieeeewwwwKKKKiiiitttt((((3333xxxx)))) VVVViiiieeeewwwwKKKKiiiitttt((((3333xxxx))))
VkMenuConfirmFirstAction VkResizer
VkMenuItem VkRunOnce
VkMenuLabel VkScroll
VkMenuSeparator VkSimpleWindow
VkMenuToggle VkSubMenu
VkMenuUndoManager VkSubProcessRep
VkMeter VkTabPanel
VkModel VkTextIO
VkModified VkTickMarks
VkModifiedAttachment VkVuMeter
VkMsgApp VkWarningDialog
VkMsgClient VkWidgetList
VkMsgComponent VkWindow
VkMsgFacility
_V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
_T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
_T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
_T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
PPPPaaaaggggeeee 3333